package cn.edu.zsc.rbac.service;

import cn.edu.zsc.rbac.domain.dto.UserDto;
import cn.edu.zsc.rbac.domain.entity.User;
import cn.edu.zsc.rbac.domain.vo.Result;

/**
 * 业务层接口-用户
 *
 * @author 陈奕君
 * @since 2025/4/29 09:13
 */
public interface IUserService extends IBaseService<User, UserDto>{

    boolean  deptInUse(int deptId);

    boolean  roleInUse(int roleId);

    Result toggle (int id);

}
